from django.conf.urls.defaults import *
from django.contrib import admin
from s52_1116_327_3.books1.views import inputs_add,inputs_update,computer_list,show_input_correct,show_input_wrong,update_wrong,show_state,main_page
admin.autodiscover()
urlpatterns = patterns('',
    (r'^input/$', inputs_add),
    (r'^update/$', inputs_update),
    (r'^show_state/$', show_state),
    ('^showInput_correct/$', show_input_correct),
    ('^showInput_wrong/$', show_input_wrong),
    ('^update_wrong/$', update_wrong),
    ('^computer/$', computer_list),            
    (r'^admin/', include(admin.site.urls)),
    ('^$',main_page),
)
